/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package apt;

/**
 *
 * @author lhminh
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
//        HocSinh p = null; // khai bao
//        p = new HocSinh(); // khoi tao
//        p.nhap();
//        p.tinhDiemTrungBinh();
//        p.xuat();
        
        HocSinh q = new HocSinh();
        q.nhap();
        q.tinhDiemTrungBinh();
        //q.xuat();
        
        HocSinh a = new HocSinh(q);
        a.xuat();
    }
}
